<?php
namespace app\O_forum\controller;
use app\BaseController;
// use think\facade\Env;
// use think\facade\Config;
use think\facade\Db;

class que extends \app\BaseController
{
	public function que()
	{
	 $re = Db::name('mes') 
		  -> field('mtitle,munick,mcreateat')
		  -> order('mcreateat','desc')
		  -> where('msid',0)
		  -> select();
	
	  // 渲染面面
	     return view('que',['mes' => $re]);
	 }
	public function detail(){
		return view();
	}
}
